package com.yonyou.sto.modules.ims.service.impl;

import com.yonyou.sto.modules.ims.model.ImsPartyAdminRelation;
import com.yonyou.sto.modules.ims.mapper.ImsPartyAdminRelationMapper;
import com.yonyou.sto.modules.ims.service.ImsPartyAdminRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aegon
 * @since 2020-09-18
 */
@Service
public class ImsPartyAdminRelationServiceImpl extends ServiceImpl<ImsPartyAdminRelationMapper, ImsPartyAdminRelation> implements ImsPartyAdminRelationService {

    @Resource
    ImsPartyAdminRelationMapper imsPartyAdminRelationMapper;
    
    @Override
    public List<Long> getPartyIdsByAdminId(String id) {
        return imsPartyAdminRelationMapper.getPartyIdsByAdminId(id);
    }
}
